package com.ruoyi.wms.controller;

import cn.hutool.core.date.DateUtil;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.wms.domain.bo.StaticBo;
import com.ruoyi.wms.domain.vo.StatisticsVo;
import com.ruoyi.wms.service.StatisticsService;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 数据统计
 *
 * @author 邓滔滔
 * &#064;date  2024-12-01
 */
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/wms/statistics")
public class StatisticsController {

    private final StatisticsService statisticsService;


    /**
     * 统计时间段内的采购数量，入库，出库
     */
    @PostMapping("/statistics")
    public R<List<StatisticsVo>> statistics() {
        //当天时间
        return R.ok();
    }
}
